<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>

<title>客户授信</title><span id="navlink">授信管理 >> 客户授信</span>

<script type="text/javascript" src="<%=request.getContextPath()%>/js/grant/creditGrant.js"></script>
<div id="msg"></div>

<s:form action="grantNew!grantNew" method="post" id="form">
<input type="hidden" name="grant.customtype" value="${ctype }"/>
<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
<tr>
	<td style="width:20%" align="right">客户编号</td>
	<td style="width:30%" ><input type="text" name="grant.customid" value="${cid }"  class="readonly" readonly="true" /></td>
	<td style="width:20%" align="right">客户名称</td>
	<td style="width:30%" ><input type="text" name="customname" id="customname" value="${cname }" class="readonly" readonly="true"/></td>
</tr>
<tr>
	<td align="right">证件号码</td>
	<td><input type="text" name="customcode" value="${ccode }" class="readonly" readonly="true"/></td>
	<td align="right"><span class="need">*</span>授信额度(元)</td>
	<td><input type="text" id="grantmoney" name="grant.grantmoney" value=""/></td>
</tr>
<tr>
	<td align="right"><span class="need">*</span>授信起始日</td>
	<td><input type="text" id="startdate" class="datepicker"  name="grant.startdate" value=""/></td>
	<td align="right"><span class="need">*</span>授信到期日</td>
	<td><input type="text" id="enddate" class="datepicker"  name="grant.enddate" value=""/></td>
</tr>
<!--  <tr>
	<td align="right" rowspan="2">授信币种</td>
	<td colspan="3">本币<input type="text" name="" value=""/></td>
</tr>
<tr>
	<td colspan="3">外币<input type="text" name="" value=""/></td>
</tr>-->
<tr>
    <td align="right">备注</td>
	<td colspan="3"><textarea style="width:60%" rows="3" name="grant.note" value=""></textarea></td>
</tr>
<%--<tr>
    <td align="right">授信人员</td>
	<td><input type="text" name="" value=""/></td>
	<td align="right">操作日期</td>
	<td><input type="text" name="" value="" class="readonly" readonly="true"/></td>
</tr>
--%></table>
<div id="button_area">
<s:submit name="grantNew" class="sub" value="提交" />
</div> 
</s:form>
